package com.example.foobar.dao.service;

import com.example.foobar.dto.DABaseDTO;
import com.example.foobar.entity.DaDataAnalysis;
import com.example.foobar.param.DaDataAnalysisPageParam;
import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

import java.util.List;
import java.util.Map;

/**
 * 新增用户数记录 服务类
 *
 * @author 郑英奔
 * @since 2021-05-31
 */
public interface DaDataAnalysisDaoService extends BaseService<DaDataAnalysis> {

    /**
     * 保存
     *
     * @param daDataAnalysis
     * @return
     * @throws Exception
     */
    boolean saveDaDataAnalysis(DaDataAnalysis daDataAnalysis) throws Exception;

    /**
     * 修改
     *
     * @param daDataAnalysis
     * @return
     * @throws Exception
     */
    boolean updateDaDataAnalysis(DaDataAnalysis daDataAnalysis) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteDaDataAnalysis(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param daDataAnalysisPageParam
     * @return
     * @throws Exception
     */
    Paging<DaDataAnalysis> getDaDataAnalysisPageList(DaDataAnalysisPageParam daDataAnalysisPageParam) throws Exception;

}
